﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OAuth2AuthorizerDemo.Models
{
    public class GoogleProvider : OAuthProvider
    {
        private static readonly string GAppKey = "105577170190.apps.googleusercontent.com";
        private static readonly string GAppSecret = "o5Ztb56HppjtP-W0rS07Y6Zn";
        
        public GoogleProvider(string name) : base(name, GAppKey, GAppSecret, string.Empty)
        {
            AuthParameters = new System.Collections.Specialized.NameValueCollection();
            AuthParameters.Add("scope", "https://www.googleapis.com/auth/plus.me");
        }
    }
}